Skip to content

Conversation

@CountRedClaw
Copy link
Collaborator

No description provided.

@CountRedClaw
Copy link
Collaborator Author

Root cause: ctx.mergeKey is a part of cached diffEntry, but somehow is not a part of the diffUniquenessCache key.

oneOf values are compared combinatorially:

  • SearchRestParams vs SearchGQLParams
  • SearchGQLParams vs SearchRestParams
  • SearchRestParams vs SearchRestParams
  • SearchGQLParams vs SearchGQLParams

and by the time when the problematic comparison takes place (SearchGQLParams vs SearchGQLParams), the cache is already filled with the DiffEntry with the 'argument' value and with the propertyKey that is not correct for this comparison. And this diff eventually will end up overriding the 'subscription' diff here.

@b41ex
Copy link
Collaborator

b41ex commented Sep 18, 2025

Merged in #40

@b41ex b41ex closed this Sep 18, 2025
@b41ex b41ex deleted the bugfix/missing-enum-breaking-diff-in-oneOf branch September 18, 2025 18:46
@github-actions github-actions bot locked and limited conversation to collaborators Sep 18, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants